package com.hx.reporter.domain;

import com.hx.common.annotation.Excel;
import com.hx.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 好友对象 talk_friend
 * 
 * @author ${author}
 * @date 2023-05-28
 */
public class Friend extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 好友关系id */
    private Integer id;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 好友id */
    @Excel(name = "好友id")
    private String friendId;

    /** 好友备注 */
    @Excel(name = "好友备注")
    private String friendRemark;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 好友头像 */
    @Excel(name = "好友头像")
    private String avatar;

    /** 好友邮件 */
    @Excel(name = "好友邮件")
    private String email;

    /** 好友联系方式 */
    @Excel(name = "好友联系方式")
    private String phone;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setFriendId(String friendId) 
    {
        this.friendId = friendId;
    }

    public String getFriendId() 
    {
        return friendId;
    }
    public void setFriendRemark(String friendRemark) 
    {
        this.friendRemark = friendRemark;
    }

    public String getFriendRemark() 
    {
        return friendRemark;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("friendId", getFriendId())
            .append("friendRemark", getFriendRemark())
            .append("password", getPassword())
            .append("avatar", getAvatar())
            .append("email", getEmail())
            .append("phone", getPhone())
            .toString();
    }
}
